package com.cim.service;

import com.cim.pojo.CourseAccount;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public interface CourseAccountService {
    List<CourseAccount> findCourseAccount(CourseAccount ca);
    int addCourseAccounts(List<CourseAccount> cas);
    CourseAccount addCourseAccount(CourseAccount ca);
    int deleteCourseAccount(String id);
    int updateCourseAccount(CourseAccount ca);
    CourseAccount findByCA(String accountId,String courseId);
    public int deleteCourseAccountByCourseId(String courseId);
}
